#include<iostream>
using namespace std;
bool really(int num)
{
	if (num == 1)
	{
		return true;
	}
	if (num % 2 == 0)
	{
		return true;
	}
	else
	{
		return false;
	}
}
int main()
{
	int num;
	cin >> num;
	if (really(num))
	{
		cout << "ming";
	}
	else
	{
		cout << "hua";
	}
	return 0;
}